package com.hu.system.domain;

import com.hu.common.annotation.Excel;
import com.hu.common.core.domain.BaseEntity;

/**
 * 库存明细统计对象 stock_detail
 *
 * @author hu
 * @date 2025-01-21
 */
public class StockDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * SKU编码
     */
    @Excel(name = "SKU编码")
    private String sku;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;

    /**
     * SKU属性（非数据库字段，从product_info关联查询）
     */
    @Excel(name = "SKU属性")
    private String skuAttr;

    /**
     * SKU货号（非数据库字段，从product_info关联查询）
     */
    @Excel(name = "SKU货号")
    private String skuCode;

    /**
     * 所属店铺ID
     */
    private Long shopId;

    /**
     * 店铺名称
     */
    @Excel(name = "所属店铺")
    private String shopName;

    /**
     * 总入库数量
     */
    @Excel(name = "总入库数量")
    private Integer totalInboundQuantity;

    /**
     * 总出库数量
     */
    @Excel(name = "总出库数量")
    private Integer totalOutboundQuantity;

    /**
     * 总损耗数量
     */
    @Excel(name = "总损耗数量")
    private Integer totalLossQuantity;

    /**
     * 剩余库存
     */
    @Excel(name = "剩余库存")
    private Integer remainingStock;

    // Getters and Setters
    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSkuAttr() {
        return skuAttr;
    }

    public void setSkuAttr(String skuAttr) {
        this.skuAttr = skuAttr;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getTotalInboundQuantity() {
        return totalInboundQuantity;
    }

    public void setTotalInboundQuantity(Integer totalInboundQuantity) {
        this.totalInboundQuantity = totalInboundQuantity;
    }

    public Integer getTotalOutboundQuantity() {
        return totalOutboundQuantity;
    }

    public void setTotalOutboundQuantity(Integer totalOutboundQuantity) {
        this.totalOutboundQuantity = totalOutboundQuantity;
    }

    public Integer getTotalLossQuantity() {
        return totalLossQuantity;
    }

    public void setTotalLossQuantity(Integer totalLossQuantity) {
        this.totalLossQuantity = totalLossQuantity;
    }

    public Integer getRemainingStock() {
        return remainingStock;
    }

    public void setRemainingStock(Integer remainingStock) {
        this.remainingStock = remainingStock;
    }
}

